package com.zretc.emptraining.service;

import java.util.List;

import com.zretc.emptraining.dbtools.PageData;
import com.zretc.emptraining.entity.CourseEva;

public interface CourseEvaService {
	/**
	 * 业务：增加课程
	 * @param courseEva
	 * @return
	 */
	public boolean addCourseEva(CourseEva courseEva);
	/**
	 * 业务：查询所有
	 * @return
	 */
	public List<CourseEva> getCourseEvaAll();
	/**
	 * 业务：分页查询 模糊查询课程名
	 * @param page
	 * @param pageSize
	 * @param courseName
	 * @return
	 */
	public PageData<CourseEva> getCourseEvaByPage(int page,int pageSize,String courseName);
	/**
	 * 业务：修改状态
	 * @param courseEva
	 * @return
	 */
	public boolean updCourseEva(CourseEva courseEva);
	/**
	 * 业务：分页查询 根据课程计划号精确查询
	 * @param page
	 * @param pageSize
	 * @param cpNo
	 * @return
	 */
	public PageData<CourseEva> getCourseEvaByCpNo(int page, int pageSize, int cpNo);
}
